<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>用户注册表单</title>
    <style>
        /* 基本样式 */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: "Microsoft YaHei", sans-serif;
        }

        body {
            background: url('https://source.unsplash.com/1600x900/?game,technology') no-repeat center center fixed;
            background-size: cover;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        .form-container {
            background-color: rgba(255, 255, 255, 0.9);
            padding: 30px 40px;
            border-radius: 10px;
            width: 100%;
            max-width: 500px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        }

        h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #333;
        }

        label {
            display: block;
            margin-top: 15px;
            font-weight: bold;
            color: #555;
        }

        input[type="text"],
        input[type="password"],
        input[type="email"],
        select,
        input[type="file"] {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
        }

        .radio-group,
        .checkbox-group {
            display: flex;
            gap: 15px;
            margin-top: 5px;
        }

        .radio-group label,
        .checkbox-group label {
            display: flex;
            align-items: center;
            gap: 5px;
            font-weight: normal;
        }

        button[type="submit"] {
            width: 100%;
            margin-top: 25px;
            padding: 12px;
            background-color: #007BFF;
            color: white;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        button[type="submit"]:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>

<div class="form-container">
    <h2>用户注册</h2>
    <form action="#" method="post" enctype="multipart/form-data">

        <!-- 用户名 -->
        <label for="username">用户名：</label>
        <input type="text" id="username" name="username" placeholder="请输入用户名" required>

        <!-- 密码 -->
        <label for="password">密码：</label>
        <input type="password" id="password" name="password" placeholder="请输入密码" required>

        <!-- 邮箱 -->
        <label for="email">邮箱：</label>
        <input type="email" id="email" name="email" placeholder="请输入邮箱地址" required>

        <!-- 性别选择 -->
        <label>性别：</label>
        <div class="radio-group">
            <label><input type="radio" name="gender" value="giegie" required>giegie</label>
            <label><input type="radio" name="gender" value="zeizei">zeizei</label>
        </div>

        <!-- 游戏节点选择 -->
        <label for="node">游戏节点：</label>
        <select id="node" name="node" required>
            <option value="">请选择节点</option>
            <option value="成都节点">成都节点</option>
            <option value="天津节点">天津节点</option>
            <option value="广州节点">广州节点</option>
            <option value="南京节点">南京节点</option>
        </select>

        <!-- 枪械选择 -->
        <label>喜欢的枪械：</label>
        <div class="checkbox-group">
            <label><input type="checkbox" name="weapons[]" value="狂徒">狂徒</label>
            <label><input type="checkbox" name="weapons[]" value="幻影">幻影</label>
            <label><input type="checkbox" name="weapons[]" value="战神">战神</label>
            <label><input type="checkbox" name="weapons[]" value="奥丁">奥丁</label>
        </div>

        <!-- 上传照片 -->
        <label for="photo">上传照片：</label>
        <input type="file" id="photo" name="photo" accept="image/*">

        <!-- 提交按钮 -->
        <button type="submit">提交表单</button>

    </form>
</div>

</body>
</html>